#include <string.h>
#include "iobot.h"

void iobot_clear_output(iobot_t *bot)
{
	memset(bot->botout, ' ', 12288);
	bot->csr_x = 0;
	bot->csr_y = 0;
	bot->scroll = 0;
	bot->dirty_x = 0;
	bot->dirty_y = 0;
	bot->dirty_width = bot->width;
	bot->dirty_height = bot->height;
	bot->dirty = 1;
}
